package org.yzl.designPatterns.command;

public class Invoker {
    ICommand iCommand;

    public Invoker(ICommand iCommand){
        this.iCommand = iCommand;
    }

    public void action(){
        iCommand.exe();
    }
}
